package com.qf.service.impl;

import com.qf.dao.jpa.EmpRoleJpa;
import com.qf.dao.EmpRoleMapper;
import com.qf.entity.EmpRole;
import com.qf.entity.Emplyee;
import com.qf.service.EmpRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class EmpRoleServiceImpl implements EmpRoleService {

    @Resource
    private EmpRoleJpa empRoleJpa;

    @Resource
    private EmpRoleMapper empRoleMapper;

    @Override
    public void saveOne(EmpRole empRole) {
        empRoleMapper.saveOne(empRole);
    }
}
